package com.baomidou.springwind.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 货物数据
 *
 * @author luox
 */
@TableName(value = "glc_goods")
public class Goods {

    @TableId(type = IdType.AUTO)
    private Long id; //主键

    @TableField(value = "batch_Id")
    private Long batchId; //批次号

    @TableField(value = "code")
    private String code; //货物编码

    @TableField(value = "name")
    private String name; //货物名称

    @TableField(value = "price")
    private BigDecimal price; //价格

    @TableField(value = "volume")
    private BigDecimal volume;//体积

    @TableField(value = "teu")
    private int teu;//标箱件数

    @TableField(value = "standard_stock")
    private int standardStock;//标准库存量

    @TableField(value = "initial_stock")
    private int initialStock;//期初库存量

    @TableField(value = "unit_pallet")
    private int unitPallet;//单位托盘量

    @TableField(value = "unit_cargo")
    private int unitCargo;//单位货位量

    @TableField(value = "operator_id")
    private int operatorId;//操作人

    @TableField(value = "create_time")
    private Date createTime;//创建日期

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getBatchId() {
        return batchId;
    }

    public void setBatchId(Long batchId) {
        this.batchId = batchId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getVolume() {
        return volume;
    }

    public void setVolume(BigDecimal volume) {
        this.volume = volume;
    }

    public int getTeu() {
        return teu;
    }

    public void setTeu(int teu) {
        this.teu = teu;
    }

    public int getStandardStock() {
        return standardStock;
    }

    public void setStandardStock(int standardStock) {
        this.standardStock = standardStock;
    }

    public int getInitialStock() {
        return initialStock;
    }

    public void setInitialStock(int initialStock) {
        this.initialStock = initialStock;
    }

    public int getUnitPallet() {
        return unitPallet;
    }

    public void setUnitPallet(int unitPallet) {
        this.unitPallet = unitPallet;
    }

    public int getUnitCargo() {
        return unitCargo;
    }

    public void setUnitCargo(int unitCargo) {
        this.unitCargo = unitCargo;
    }

    public int getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(int operatorId) {
        this.operatorId = operatorId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
